<div class="right">
	<div id="bread-nav" class="fn-clear">
		<ul>
			<li><a href="admin/home">后台首页</a></li>
			<li><a>静态页面管理</a></li>
		</ul>
	</div>
	<div id="content" class="text-darkgrey">
		<h2>静态页面管理</h2>
		<div class="add">
			<a href="<?="admin/about/add/"?>">添加静态页面</a>
		</div>
		<table>
			<tr>
			<td class="id text-red center">编号</td>
			<td class="title text-red center">标题</td>
			<td class="time text-red center">分类</td>
			<td class="time text-red center">时间</td>
			<td class="author text-red center">管理</td>
			<td class="edit text-red center">编辑</td>
			<td class="delete text-red center">删除</td>
			</tr>
			
			<?foreach ($aboutList as $row):?>
			<tr>
				<td class="id center"><?=$row['id']?></td>
				<td class="title center"><?=$row['name']?></td>
				<td class="time center">
				<?php if($row['class']=='C'):?>
					纽斯达卡
				<?php elseif ($row['class']=='A'):?>
					关于我们
				<?php endif;?>
				</td>
				<td class="time center"><?=date('Y-m-d H:i:s',strtotime($row['updateTime']))?></td>
				<td class="author center"><?=$row['updatePerson']?></td>
				<td class="edit center"><a href="<?="admin/about/edit/".$row['id']?>">修改</a></td>
				<td class="delete center"><input type="button" onclick="dele(<?=$row ['id']?>)" value="删除" class="padding" /></td>
			</tr>
			<?endforeach;?>
		</table>
	</div>
	<script type="text/javascript">
	function dele(str) {
		if (confirm("确认删除记录"+str+"？")){
			window.location = getRootPath()+'/admin/about/delete/'+str;
		}
	}
	</script>
</div>